<div id="navbar-container" class="boxed">
	<div class="navbar-header1">GO机网运营中心</div>
	<div class="navbar-content clearfix">
		<ul class="nav navbar-top-links pull-right">
			<li id="dropdown-user" class="dropdown">
				<a href="#" data-toggle="dropdown" class="dropdown-toggle text-right">
                        <span class="pull-right">
                            <img class="img-circle img-user media-object" src="../img/av1.png"
                                 alt="Profile Picture">
                        </span>
					<div id="nav_loginInfo" class="username hidden-xs">admin</div>
				</a>
				<div class="dropdown-menu dropdown-menu-md dropdown-menu-right panel-default">
					<div class="pad-all text-center">
						<a href="javascript:void(0)" onclick='location.href="admin_login.html"' class="btn btn-primary">
							<i class="pli-unlock"></i> Logout
						</a>
					</div>
				</div>
			</li>
		</ul>
	</div>
</div>
<script>
	(function () {
		$(window).resize(function () {
			init_();
		});
		
		function init_() {
			var width = $(window).width();
			if (width < 1300) {
				$('#container').removeClass('mainnav-lg').addClass('mainnav-sm');
			} else {
				$('#container').removeClass('mainnav-sm').addClass('mainnav-lg');
			}
		}
		
		init_();
	})();
</script>
